package com.huadao.cart_ccs.data.bean;

import android.text.TextUtils;

import java.io.Serializable;
import java.util.Date;

public class Project implements Serializable {
    private static final long serialVersionUID = -7479153632743763552L;

    //判断是否绑定项目
    public boolean isBinded() {
        if(!TextUtils.isEmpty(deviceId1)){
            return true;
        }else {
            return false;
        }
    }

    private String projectId;
    private String projectName;
    private String projectCode;
    private int weight;
    private String identifier;
    private String hospitalName;
    private String instructionCode;
    private String productName;
    private String specification;
    private String expectedOutput;
    private String planCode;
    private String prodUse;
    private String prodAccordingTo;
    private String acceptAccordingTo;
    private Date startTime;
    private Date prodCycleStartTime;
    private Date prodCycleEndTime;
    private int status;
    private String projectStatus;
    private String remark;
    private Date createdTime;
    private String deviceId1;
    private String deviceId2;
    private String prodUser1Id;
    private String prodUser1Name;
    private String prodUser2Id;
    private String prodManagerId;
    private String prodManagerName;
    private String prodUser2Name;
    private String controlUserId;
    private String controlUserName;
    private String controlManagerId;
    private String controlManagerName;
    private String id;

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }
    public String getProjectName() {
        return projectName;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }
    public String getProjectCode() {
        return projectCode;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }
    public int getWeight() {
        return weight;
    }

    public void setIdentifier(String identifier) {
        this.identifier = identifier;
    }
    public String getIdentifier() {
        return identifier;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }
    public String getHospitalName() {
        return hospitalName;
    }

    public void setInstructionCode(String instructionCode) {
        this.instructionCode = instructionCode;
    }
    public String getInstructionCode() {
        return instructionCode;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }
    public String getProductName() {
        return productName;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }
    public String getSpecification() {
        return specification;
    }

    public void setExpectedOutput(String expectedOutput) {
        this.expectedOutput = expectedOutput;
    }
    public String getExpectedOutput() {
        return expectedOutput;
    }

    public void setPlanCode(String planCode) {
        this.planCode = planCode;
    }
    public String getPlanCode() {
        return planCode;
    }

    public void setProdUse(String prodUse) {
        this.prodUse = prodUse;
    }
    public String getProdUse() {
        return prodUse;
    }

    public void setProdAccordingTo(String prodAccordingTo) {
        this.prodAccordingTo = prodAccordingTo;
    }
    public String getProdAccordingTo() {
        return prodAccordingTo;
    }

    public void setAcceptAccordingTo(String acceptAccordingTo) {
        this.acceptAccordingTo = acceptAccordingTo;
    }
    public String getAcceptAccordingTo() {
        return acceptAccordingTo;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Date getProdCycleStartTime() {
        return prodCycleStartTime;
    }

    public void setProdCycleStartTime(Date prodCycleStartTime) {
        this.prodCycleStartTime = prodCycleStartTime;
    }

    public Date getProdCycleEndTime() {
        return prodCycleEndTime;
    }

    public void setProdCycleEndTime(Date prodCycleEndTime) {
        this.prodCycleEndTime = prodCycleEndTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public void setStatus(int status) {
        this.status = status;
    }
    public int getStatus() {
        return status;
    }

    public void setProjectStatus(String projectStatus) {
        this.projectStatus = projectStatus;
    }
    public String getProjectStatus() {
        return projectStatus;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
    public String getRemark() {
        return remark;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getId() {
        return id;
    }

    public String getDeviceId1() {
        return deviceId1;
    }

    public void setDeviceId1(String deviceId1) {
        this.deviceId1 = deviceId1;
    }

    public String getDeviceId2() {
        return deviceId2;
    }

    public void setDeviceId2(String deviceId2) {
        this.deviceId2 = deviceId2;
    }

    public String getProdUser1Id() {
        return prodUser1Id;
    }

    public void setProdUser1Id(String prodUser1Id) {
        this.prodUser1Id = prodUser1Id;
    }

    public String getProdUser1Name() {
        return prodUser1Name;
    }

    public void setProdUser1Name(String prodUser1Name) {
        this.prodUser1Name = prodUser1Name;
    }



    public String getProdManagerName() {
        return prodManagerName;
    }

    public void setProdManagerName(String prodManagerName) {
        this.prodManagerName = prodManagerName;
    }

    public String getProdUser2Name() {
        return prodUser2Name;
    }

    public void setProdUser2Name(String prodUser2Name) {
        this.prodUser2Name = prodUser2Name;
    }



    public String getControlUserName() {
        return controlUserName;
    }

    public void setControlUserName(String controlUserName) {
        this.controlUserName = controlUserName;
    }

    public String getProdUser2Id() {
        return prodUser2Id;
    }

    public void setProdUser2Id(String prodUser2Id) {
        this.prodUser2Id = prodUser2Id;
    }

    public String getProdManagerId() {
        return prodManagerId;
    }

    public void setProdManagerId(String prodManagerId) {
        this.prodManagerId = prodManagerId;
    }

    public String getControlUserId() {
        return controlUserId;
    }

    public void setControlUserId(String controlUserId) {
        this.controlUserId = controlUserId;
    }

    public String getControlManagerId() {
        return controlManagerId;
    }

    public void setControlManagerId(String controlManagerId) {
        this.controlManagerId = controlManagerId;
    }

    public String getControlManagerName() {
        return controlManagerName;
    }

    public void setControlManagerName(String controlManagerName) {
        this.controlManagerName = controlManagerName;
    }

}
